            <div id="info-bar-small">Modfica informazioni blog</div>
            <div id="main">
<?php
    include 'connect.php';
    if (isset($_GET['id']) && is_numeric($_GET['id'])) {
        $id = $_GET['id'];
        $result = mysql_query("SELECT * FROM info WHERE id=$id") or die(mysql_error()); 
        $row = mysql_fetch_array($result);
        $blog_nome = $row['blog_nome'];
        $blog_url = $row['blog_url'];
    }
?>
                     <div id="view-profile">
                        <dl>
                            <dt>Nome</dt>
                            <form method="post" action="./includes/action_edit_info.php?id=<?=$id;?>">
                                <dd><input type="text" name="blog_nome" value="<?php echo $blog_nome; ?>" class="edit-name" maxlength="20" required /></dd><br />
                            <dt>URL blog</dt>
                                <dd><input type="text" name="blog_url" value="<?php echo $blog_url; ?>" class="edit-name" required /></dd>
                                <div class="floatright"><dd><input type="submit" name="submit" value="Salva Modifiche" class="post-button"></dd></div>
                            </form>
                        </dl>
                    </div> 
            </div><!-- /main -->
